can't use periods in ServerName/ServerAlias [Lion Apache installation]

Posted by punchfacechamp on Server Fault See other posts from Server Fault or by punchfacechamp
Published on 2012-05-30T19:12:48Z Indexed on 2012/05/30 22:42 UTC
Read the original article Hit count: 243

Filed under:
|

I can access my host like this…

http://keggyshop

but can't use periods…

http://keggyshop.edu

here's my virtual host directive…

<VirtualHost *:80>
    ServerName keggyshop
    ServerAlias keggyshop.edu
    DocumentRoot "~/sites/2012/keggy/web/pages/keggy/120528/sandbox/public"

    <Directory "~/sites/2012/keggy/web/pages/keggy/120528/sandbox/public">
            Options Includes FollowSymLinks
            AllowOverride All
            Order allow,deny
    Allow from all

    </Directory>

</VirtualHost>

© Server Fault or respective owner

Related posts about apache2

Related posts about hostname